<template>
	<view class="content">
		<view v-html="data.content">
			
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				data:{
					content:'',
					name:'',
				},
			}
		},
		methods: {
			goBack(){ uni.navigateBack() },
		},
		onLoad(option) {
			this.data = JSON.parse(option.data)
			uni.setNavigationBarTitle({
				title:this.data.name
			})
		}
	}
</script>

<style lang="scss" scoped>
	.content {
		padding: 30rpx;
	}
</style>
